using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Admin_Include_AdChkLogin : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["ADMIN_ID"] == null || Session["ADMIN_ID"].ToString().Trim().Length == 0)
        {
            string urlPageFrom = Request.Url.ToString();
            Response.Redirect(Session["strHttp"].ToString() + "admin/ADlogin.aspx?pg=" + urlPageFrom);
        }
    }
}
